#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <queue>
#include <stack>
#include <deque>
#include <map>
#include <set>
#include <functional>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>

using namespace std;

int
main(int argc, char *argv[])
{
    int T;

    scanf("%d", &T);
    while (T--) {
        scanf("%d %d", &M, &N);
    }

    return 0;
}
